package com.leo.erp.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_organization")
public class Organization {
	@TableId(value = "orgId", type = IdType.AUTO)
	private int orgId;
	
	@TableField("orgNo")
	private String orgNo;//机构编号
	
	@TableField("orgFullName")
	private String orgFullName;//机构全称
	
	@TableField("orgAbr")
	private String orgAbr;//机构简称
	
	@TableField("orgTpcd")
	private String orgTpcd;//机构类型
	
	@TableField("orgStcd")
	private char orgStcd;//机构状态,1未营业、2正常营业、3暂停营业、4终止营业、5已除名
	
	@TableField("orgParentNo")
	private String orgParentNo;//机构父节点编号
	
	@TableField("sort")
	private String sort;//机构显示顺序
	
	@TableField("remark")
	private String remark;//备注
	
	@TableField("createTime")
	private Date createTime;//创建时间
	
	@TableField("creator")
	private int creator;//创建人
	
	@TableField("updateTime")
	private Date updateTime;//更新时间
	
	@TableField("updater")
	private int updater;//更新人
	
	@TableField("orgCreateTime")
	private Date orgCreateTime;//机构创建时间
	
	@TableField("orgStopTime")
	private Date orgStopTime;//机构停运时间
	
	@TableField("tenantId")
	private int tenantId;//租户id

	public int getOrgId() {
		return orgId;
	}

	public void setOrgId(int orgId) {
		this.orgId = orgId;
	}

	public String getOrgNo() {
		return orgNo;
	}

	public void setOrgNo(String orgNo) {
		this.orgNo = orgNo == null ? null : orgNo.trim();
	}

	public String getOrgFullName() {
		return orgFullName;
	}

	public void setOrgFullName(String orgFullName) {
		this.orgFullName = orgFullName == null ? null : orgFullName.trim();
	}

	public String getOrgAbr() {
		return orgAbr;
	}

	public void setOrgAbr(String orgAbr) {
		this.orgAbr = orgAbr == null ? null : orgAbr.trim();
	}

	public String getOrgTpcd() {
		return orgTpcd;
	}

	public void setOrgTpcd(String orgTpcd) {
		this.orgTpcd = orgTpcd == null ? null : orgTpcd.trim();
	}

	public char getOrgStcd() {
		return orgStcd;
	}

	public void setOrgStcd(char orgStcd) {
		this.orgStcd = orgStcd;
	}

	public String getOrgParentNo() {
		return orgParentNo;
	}

	public void setOrgParentNo(String orgParentNo) {
		this.orgParentNo = orgParentNo == null ? null : orgParentNo.trim();
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort == null ? null : sort.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getCreator() {
		return creator;
	}

	public void setCreator(int creator) {
		this.creator = creator;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getUpdater() {
		return updater;
	}

	public void setUpdater(int updater) {
		this.updater = updater;
	}

	public Date getOrgCreateTime() {
		return orgCreateTime;
	}

	public void setOrgCreateTime(Date orgCreateTime) {
		this.orgCreateTime = orgCreateTime;
	}

	public Date getOrgStopTime() {
		return orgStopTime;
	}

	public void setOrgStopTime(Date orgStopTime) {
		this.orgStopTime = orgStopTime;
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}
	
	
}
